<template>
  <div>
    <EditForm :infos="infos" :colon="false" :showSubmit="false"></EditForm>
  </div>
</template>

<script>
import EditForm from '@/components/EditForm/index'
export default {
  name: 'mine',
  components: {
    EditForm
  },
  data () {
    return {
      infos: [
        {
          type: 'text',
          label: '个人信息',
          arrow: 'right',
          key: 'userInfo',
          to: '/userInfo',
          showType: 'view'
        },
        {
          type: 'text',
          label: '我的学习',
          arrow: 'right',
          key: 'bb',
          value: '已结业',
          to: '/myTrain',
          textAlign: true,
          showType: 'view'
        },
        {
          type: 'text',
          label: '我的考试',
          arrow: 'right',
          key: 'cc',
          value: '0',
          to: '/myPaper',
          textAlign: true,
          showType: 'view'
        }
      ]
    }
  }
}
</script>

<style lang="" scoped>
</style>
